<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
	<package name="cn.ffcs.contract" extends="struts-default"  namespace="/business/contract" >

		<!-- contract BEGIN-->
		<action name="listProjectContract" class="projectBean" method="findArchiveContract">
			<result name="success">/business/contract/listProjectContract.jsp</result>
		</action>
		<action name="findContractCountersigned" class="projectBean" method="findContractCountersigned">
			<result name="success">/business/contract/findContractCountersigned.jsp</result>
		</action>
		<action name="findContractWarning" class="projectBean" method="findContractWarning">
			<result name="success">/business/contract/findContractWarning.jsp</result>
		</action>
		<action name="findContractTemplate" class="projectBean" method="findContractTemplate">
			<result name="success">/business/contract/findContractTemplate.jsp</result>
		</action>
		<action name="findEconomicContracts" class="projectBean" method="findEconomicContracts">
			<result name="success">/business/contract/findEconomicContracts.jsp</result>
		</action>
		<action name="findContractById" class="projectBean" method="findContractById">
			<result name="success">/business/contract/contractDetail.jsp</result>
		</action>
		<action name="findContractCountersignedById" class="projectBean" method="findContractCountersignedById">
			<result name="success">/business/contract/contractDetail.jsp</result>
		</action>
		<action name="findContractTemplateById" class="projectBean" method="findContractTemplateById">
			<result name="success">/business/contract/contractTemplate.jsp</result>
		</action>
		<action name="findContractTemplateById" class="projectBean" method="findContractTemplateById">
			<result name="success">/business/contract/contractTemplate.jsp</result>
		</action>
		<action name="showFile" class="projectBean" method="showFile">
			<result name="success">/common/showFile.jsp</result>
		</action>

		<action name="editContractInfo" class="contractInfoBean" method="findById">
			<result name="success">/business/contract/editContractInfo.jsp</result>
			<result name="countersigned">/business/contract/editCountersigned.jsp</result>
			<result name="archive">/business/contract/editArchiveCountersigned.jsp</result>
		</action>
		<action name="listContractInfo" class="contractInfoBean" method="findByPage">
			<result name="success">/business/contract/listContractInfo.jsp</result>
		</action>
		<action name="saveContractInfo" class="contractInfoBean" method="saveOrUpdate">
			<result name="success" type="redirect">listContractInfo.action</result>
			<result name="counter" type="redirect">listCountersigned.action</result>
			<result name="archive" type="redirect">listArchiveCountersigned.action</result>
		</action>
		<action name="intoContractInfo" class="contractInfoBean" method="into">
			
		</action>
		<action name="showUpload" class="contractInfoBean" method="showFile">
		</action>
		<action name="delContractInfo" class="contractInfoBean" method="remove">
			<result name="success" type="redirect">listContractInfo.action</result>
			<result name="countersigned" type="redirect">listCountersigned.action</result>
			<result name="archive" type="redirect">listArchiveCountersigned.action</result>
		</action>
		<action name="listEdContractInfo" class="contractInfoBean" method="findEdByPage">
			<result name="success">/business/contract/listEdContractInfo.jsp</result>
		</action>
		<action name="saveCountersigned" class="contractInfoBean" method="saveCountersigned">
			<result name="far" type="redirect">listContractInfo.action</result>
			<result name="success">/business/contract/contractLink.jsp</result>
		</action>
		<action name="listCountersigned" class="contractInfoBean" method="findCountersignedByPage">
			<result name="success">/business/contract/listCountersigned.jsp</result>
		</action>
		<action name="archiveCountersigned" class="contractInfoBean" method="archiveCountersigned">
			<result name="success" type="redirect">listContractInfo.action</result>
			<result name="counter" type="redirect">listCountersigned.action</result>
		</action>
		<action name="listArchiveCountersigned" class="contractInfoBean" method="listArchiveCountersigned">
			<result name="success">/business/contract/listArchiveCountersigned.jsp</result>
		</action>
		<action name="export" class="contractInfoBean" method="export">
			<result name="success">/business/contract/listArchiveCountersigned.jsp</result>
		</action>
		<action name="listFirstPic" class="contractInfoBean" method="listFirstPic">
			<result name="success">/business/contract/listFirstPic.jsp</result>
		</action>
		<action name="saveFirstPic" class="contractInfoBean" method="saveFirstPic">
			<result name="success">/business/contract/listFirstPic.jsp</result>
		</action>
		
		<action name="contractDetail" class="contractInfoBean" method="contractDetail">
			<result name="success">/business/contract/contractLink.jsp</result>
		</action>
		
	</package>
    
</struts>